package com.csjbot.snowbotagingtest;

import java.io.Serializable;

/**
 * Created by jingwc on 2017/7/29.
 */

public class TestBean implements Serializable{
    private String tag;
    private int partolErrorCount;
    private boolean isSpeeding;
    private boolean aiuiStatus;
    private boolean cameraOpenStatus;
    private int leftArmCount;
    private int rightArmCount;
    private int doubleArmCount;
    private int speakCount;
    private int expressionCount;

    public boolean isSpeeding() {
        return isSpeeding;
    }

    public void setSpeeding(boolean speeding) {
        isSpeeding = speeding;
    }

    public boolean isAiuiStatus() {
        return aiuiStatus;
    }

    public void setAiuiStatus(boolean aiuiStatus) {
        this.aiuiStatus = aiuiStatus;
    }

    public int getPartolErrorCount(){
        return partolErrorCount;
    }
    public void setPartolErrorCount(int count){
        this.partolErrorCount = count;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public boolean isCameraOpenStatus() {
        return cameraOpenStatus;
    }

    public void setCameraOpenStatus(boolean cameraOpenStatus) {
        this.cameraOpenStatus = cameraOpenStatus;
    }

    public int getLeftArmCount() {
        return leftArmCount;
    }

    public void addLeftArmCount(int leftArmCount) {
        this.leftArmCount += leftArmCount;
    }

    public int getRightArmCount() {
        return rightArmCount;
    }

    public void addRightArmCount(int rightArmCount) {
        this.rightArmCount += rightArmCount;
    }

    public int getDoubleArmCount() {
        return doubleArmCount;
    }

    public void addDoubleArmCount(int doubleArmCount) {
        this.doubleArmCount += doubleArmCount;
    }

    public int getSpeakCount() {
        return speakCount;
    }

    public void addSpeakCount(int speakCount) {
        this.speakCount += speakCount;
    }

    public int getExpressionCount() {
        return expressionCount;
    }

    public void addExpressionCount(int expressionCount) {
        this.expressionCount += expressionCount;
    }


    public void clearAllData(){
        this.tag = null;
        this.isSpeeding = false;
        this.aiuiStatus = false;
        this.partolErrorCount = 0;
        this.cameraOpenStatus = false;
        this.leftArmCount = 0;
        this.rightArmCount = 0;
        this.doubleArmCount = 0;
        this.speakCount = 0;
        this.expressionCount = 0;
    }
}
